package org.jeecg.modules.shop.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.shop.entity.ScSystemShop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: sc_system_shop
 * @Author: jeecg-boot
 * @Date:   2021-10-31
 * @Version: V1.0
 */
public interface ScSystemShopMapper extends BaseMapper<ScSystemShop> {
    List<Map<String, Object>> selectCityData(@Param("parentId") Integer parentId,@Param("level") Integer level,@Param("ids")String ids);
    List<Map<String, Object>> selectHangye();
    int updateShoInfo(ScSystemShop scSystemShop);
    List<Map<String,Object>> selectUserDepartCode(@Param("userId")String userId);
    IPage<ScSystemShop> updateList(ScSystemShop scSystemShop, Page page);

}
